Optimal. Leaf size=180 \[ -\frac {e \sqrt {b x+c x^2}}{2 d (c d-b e) (d+e x)^2}-\frac {3 e (2 c d-b e) \sqrt {b x+c x^2}}{4 d^2 (c d-b e)^2 (d+e x)}+\frac {\left (8 c^2 d^2-8 b c d e+3 b^2 e^2\right ) \tanh ^{-1}\left (\frac {b d+(2 c d-b e) x}{2 \sqrt {d} \sqrt {c d-b e} \sqrt {b x+c x^2}}\right )}{8 d^{5/2} (c d-b e)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 180, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {758, 820, 738,
212} \begin {gather*} \frac {\left (3 b^2 e^2-8 b c d e+8 c^2 d^2\right ) \tanh ^{-1}\left (\frac {x (2 c d-b e)+b d}{2 \sqrt {d} \sqrt {b x+c x^2} \sqrt {c d-b e}}\right )}{8 d^{5/2} (c d-b e)^{5/2}}-\frac {3 e \sqrt {b x+c x^2} (2 c d-b e)}{4 d^2 (d+e x) (c d-b e)^2}-\frac {e \sqrt {b x+c x^2}}{2 d (d+e x)^2 (c d-b e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 738
Rule 758
Rule 820
Rubi steps
\begin {align*} \int \frac {1}{(d+e x)^3 \sqrt {b x+c x^2}} \, dx &=-\frac {e \sqrt {b x+c x^2}}{2 d (c d-b e) (d+e x)^2}-\frac {\int \frac {\frac {1}{2} (-4 c d+3 b e)+c e x}{(d+e x)^2 \sqrt {b x+c x^2}} \, dx}{2 d (c d-b e)}\\ &=-\frac {e \sqrt {b x+c x^2}}{2 d (c d-b e) (d+e x)^2}-\frac {3 e (2 c d-b e) \sqrt {b x+c x^2}}{4 d^2 (c d-b e)^2 (d+e x)}+\frac {\left (8 c^2 d^2-8 b c d e+3 b^2 e^2\right ) \int \frac {1}{(d+e x) \sqrt {b x+c x^2}} \, dx}{8 d^2 (c d-b e)^2}\\ &=-\frac {e \sqrt {b x+c x^2}}{2 d (c d-b e) (d+e x)^2}-\frac {3 e (2 c d-b e) \sqrt {b x+c x^2}}{4 d^2 (c d-b e)^2 (d+e x)}-\frac {\left (8 c^2 d^2-8 b c d e+3 b^2 e^2\right ) \text {Subst}\left (\int \frac {1}{4 c d^2-4 b d e-x^2} \, dx,x,\frac {-b d-(2 c d-b e) x}{\sqrt {b x+c x^2}}\right )}{4 d^2 (c d-b e)^2}\\ &=-\frac {e \sqrt {b x+c x^2}}{2 d (c d-b e) (d+e x)^2}-\frac {3 e (2 c d-b e) \sqrt {b x+c x^2}}{4 d^2 (c d-b e)^2 (d+e x)}+\frac {\left (8 c^2 d^2-8 b c d e+3 b^2 e^2\right ) \tanh ^{-1}\left (\frac {b d+(2 c d-b e) x}{2 \sqrt {d} \sqrt {c d-b e} \sqrt {b x+c x^2}}\right )}{8 d^{5/2} (c d-b e)^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.83, size = 180, normalized size = 1.00 \begin {gather*} \frac {\sqrt {x} \left (-\frac {\sqrt {d} e \sqrt {x} (b+c x) (2 c d (4 d+3 e x)-b e (5 d+3 e x))}{(c d-b e)^2 (d+e x)^2}-\frac {\left (8 c^2 d^2-8 b c d e+3 b^2 e^2\right ) \sqrt {b+c x} \tan ^{-1}\left (\frac {-e \sqrt {x} \sqrt {b+c x}+\sqrt {c} (d+e x)}{\sqrt {d} \sqrt {-c d+b e}}\right )}{(-c d+b e)^{5/2}}\right )}{4 d^{5/2} \sqrt {x (b+c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(472\) vs.
\(2(158)=316\).
time = 0.45, size = 473, normalized size = 2.63
method | result | size |
default | \(\frac {\frac {e^{2} \sqrt {c \left (x +\frac {d}{e}\right )^{2}+\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}-\frac {d \left (b e -c d \right )}{e^{2}}}}{2 d \left (b e -c d \right ) \left (x +\frac {d}{e}\right )^{2}}+\frac {3 e \left (b e -2 c d \right ) \left (\frac {e^{2} \sqrt {c \left (x +\frac {d}{e}\right )^{2}+\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}-\frac {d \left (b e -c d \right )}{e^{2}}}}{d \left (b e -c d \right ) \left (x +\frac {d}{e}\right )}-\frac {e \left (b e -2 c d \right ) \ln \left (\frac {-\frac {2 d \left (b e -c d \right )}{e^{2}}+\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}+2 \sqrt {-\frac {d \left (b e -c d \right )}{e^{2}}}\, \sqrt {c \left (x +\frac {d}{e}\right )^{2}+\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}-\frac {d \left (b e -c d \right )}{e^{2}}}}{x +\frac {d}{e}}\right )}{2 d \left (b e -c d \right ) \sqrt {-\frac {d \left (b e -c d \right )}{e^{2}}}}\right )}{4 d \left (b e -c d \right )}-\frac {c \,e^{2} \ln \left (\frac {-\frac {2 d \left (b e -c d \right )}{e^{2}}+\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}+2 \sqrt {-\frac {d \left (b e -c d \right )}{e^{2}}}\, \sqrt {c \left (x +\frac {d}{e}\right )^{2}+\frac {\left (b e -2 c d \right ) \left (x +\frac {d}{e}\right )}{e}-\frac {d \left (b e -c d \right )}{e^{2}}}}{x +\frac {d}{e}}\right )}{2 d \left (b e -c d \right ) \sqrt {-\frac {d \left (b e -c d \right )}{e^{2}}}}}{e^{3}}\) | \(473\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 361 vs.
\(2 (168) = 336\).
time = 1.49, size = 734, normalized size = 4.08 \begin {gather*} \left [\frac {{\left (8 \, c^{2} d^{4} + 3 \, b^{2} x^{2} e^{4} - 2 \, {\left (4 \, b c d x^{2} - 3 \, b^{2} d x\right )} e^{3} + {\left (8 \, c^{2} d^{2} x^{2} - 16 \, b c d^{2} x + 3 \, b^{2} d^{2}\right )} e^{2} + 8 \, {\left (2 \, c^{2} d^{3} x - b c d^{3}\right )} e\right )} \sqrt {c d^{2} - b d e} \log \left (\frac {2 \, c d x - b x e + b d + 2 \, \sqrt {c d^{2} - b d e} \sqrt {c x^{2} + b x}}{x e + d}\right ) - 2 \, {\left (8 \, c^{2} d^{4} e + 3 \, b^{2} d x e^{4} - {\left (9 \, b c d^{2} x - 5 \, b^{2} d^{2}\right )} e^{3} + {\left (6 \, c^{2} d^{3} x - 13 \, b c d^{3}\right )} e^{2}\right )} \sqrt {c x^{2} + b x}}{8 \, {\left (c^{3} d^{8} - b^{3} d^{3} x^{2} e^{5} + {\left (3 \, b^{2} c d^{4} x^{2} - 2 \, b^{3} d^{4} x\right )} e^{4} - {\left (3 \, b c^{2} d^{5} x^{2} - 6 \, b^{2} c d^{5} x + b^{3} d^{5}\right )} e^{3} + {\left (c^{3} d^{6} x^{2} - 6 \, b c^{2} d^{6} x + 3 \, b^{2} c d^{6}\right )} e^{2} + {\left (2 \, c^{3} d^{7} x - 3 \, b c^{2} d^{7}\right )} e\right )}}, \frac {{\left (8 \, c^{2} d^{4} + 3 \, b^{2} x^{2} e^{4} - 2 \, {\left (4 \, b c d x^{2} - 3 \, b^{2} d x\right )} e^{3} + {\left (8 \, c^{2} d^{2} x^{2} - 16 \, b c d^{2} x + 3 \, b^{2} d^{2}\right )} e^{2} + 8 \, {\left (2 \, c^{2} d^{3} x - b c d^{3}\right )} e\right )} \sqrt {-c d^{2} + b d e} \arctan \left (-\frac {\sqrt {-c d^{2} + b d e} \sqrt {c x^{2} + b x}}{c d x - b x e}\right ) - {\left (8 \, c^{2} d^{4} e + 3 \, b^{2} d x e^{4} - {\left (9 \, b c d^{2} x - 5 \, b^{2} d^{2}\right )} e^{3} + {\left (6 \, c^{2} d^{3} x - 13 \, b c d^{3}\right )} e^{2}\right )} \sqrt {c x^{2} + b x}}{4 \, {\left (c^{3} d^{8} - b^{3} d^{3} x^{2} e^{5} + {\left (3 \, b^{2} c d^{4} x^{2} - 2 \, b^{3} d^{4} x\right )} e^{4} - {\left (3 \, b c^{2} d^{5} x^{2} - 6 \, b^{2} c d^{5} x + b^{3} d^{5}\right )} e^{3} + {\left (c^{3} d^{6} x^{2} - 6 \, b c^{2} d^{6} x + 3 \, b^{2} c d^{6}\right )} e^{2} + {\left (2 \, c^{3} d^{7} x - 3 \, b c^{2} d^{7}\right )} e\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {x \left (b + c x\right )} \left (d + e x\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 487 vs.
\(2 (168) = 336\).
time = 1.42, size = 487, normalized size = 2.71 \begin {gather*} -\frac {{\left (8 \, c^{2} d^{2} - 8 \, b c d e + 3 \, b^{2} e^{2}\right )} \arctan \left (\frac {{\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} e + \sqrt {c} d}{\sqrt {-c d^{2} + b d e}}\right )}{4 \, {\left (c^{2} d^{4} - 2 \, b c d^{3} e + b^{2} d^{2} e^{2}\right )} \sqrt {-c d^{2} + b d e}} - \frac {8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{3} c^{2} d^{2} e + 24 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{2} c^{\frac {5}{2}} d^{3} - 24 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{2} b c^{\frac {3}{2}} d^{2} e + 24 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} b c^{2} d^{3} - 8 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{3} b c d e^{2} - 20 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} b^{2} c d^{2} e + 6 \, b^{2} c^{\frac {3}{2}} d^{3} + 9 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{2} b^{2} \sqrt {c} d e^{2} - 3 \, b^{3} \sqrt {c} d^{2} e + 3 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{3} b^{2} e^{3} + 5 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} b^{3} d e^{2}}{4 \, {\left (c^{2} d^{4} - 2 \, b c d^{3} e + b^{2} d^{2} e^{2}\right )} {\left ({\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{2} e + 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} d + b d\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\sqrt {c\,x^2+b\,x}\,{\left (d+e\,x\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________